$post_result = $db_zugriff->query("SELECT bb".$n."_posts.*, bb".$n."_user_table.* FROM bb".$n."_posts LEFT JOIN bb".$n."_user_table USING (userid) WHERE bb".$n."_posts.threadparentid='$threadid' ORDER by bb".$n."_posts.posttime ".ifelse($postorder,"DESC","ASC")." LIMIT ".($eproseite*($page-1)).",".($eproseite));